package org.csmzxy.class2333;


interface Department{
    void work();
    private void AcceptRemark(){
        System.out.println("接受本月任务");
    }
    private void  ReportWork(){
        System.out.println("汇报本月工作");
    }
    default void workFlow(){
        AcceptRemark();
        work();
        ReportWork();
    }
}
public class TechDepartment implements Department{
    public void work(){
        System.out.println("技术部门本月的工作内容是完成购物平台的开发");
    }
}
